﻿<%@ Page Title="裸机价格" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="BarepriceGT.aspx.cs" Inherits="HZ.Supervise.Web.Hospital.BarepriceGT" %>
<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../lib/ZheZao/thickbox.css" rel="stylesheet" type="text/css" />
    <script src="../lib/ZheZao/thickbox.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0)">类别统计2</a></li>
        </ul>
    </div>
   <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                所在地区：
                            </td>
                            <td align="left">
                                <uc3:AreaControl ID="ddlArea"  runat="server"/>
                            </td>                        
                            <td align="right">
                                <asp:Label ID="lblSubmiTime" runat="server" Text="填报时间："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtTimeFrom" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                  ></asp:TextBox>
                                -
                                <asp:TextBox ID="txtTimeTo" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                  ></asp:TextBox>
                            </td>
                           <td align="right">
                                裸机价格>=：
                            </td>
                            <td align="left" >
                            <asp:DropDownList runat="server" ID="ddlBareprice" Width="100px"  > 
                                <asp:ListItem  Text="0" Value="0"></asp:ListItem>
                                <asp:ListItem  Text="100" Value="100" Selected="True"></asp:ListItem>
                         </asp:DropDownList> 
                </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <asp:Button ID="btnButton" runat="server" Text="查 询" OnClick="btnButton_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    <div class="listip">
        <ul>
            <li>合计： <span style="color: Red">
                <asp:Label ID="lblResout" runat="server"></asp:Label>
            </span></li> 
        </ul>
    </div>
    </div>
      <asp:GridView ID="gvwBarepriceGT" runat="server" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据!"
        CssClass="mainlist"  >
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="SortName" HeaderText="类别" ReadOnly="true" />
            <asp:BoundField DataField="cpzs" HeaderText="产品总数" ReadOnly="true" />
            <asp:BoundField DataField="sumgc" HeaderText="国产数量（台）" ReadOnly="true" />
            <asp:BoundField DataField="gcbl" HeaderText="占比" DataFormatString="{0:P2} " />
            <asp:BoundField DataField="sumjk" HeaderText="进口数量（台）" ReadOnly="true" />
            <asp:BoundField DataField="jkbl" HeaderText="占比" DataFormatString="{0:P2}"  /> 
            <asp:BoundField DataField="sumzs" HeaderText="总采购数量（台）" ReadOnly="true" />                              
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>  
    <div class="listctrl">
        <hz:HzButton ID="btnExport" runat="server" Text="导出Excel" CssClass="btn" OnClick="btnExport_Click" />
    </div>
</asp:Content>
